package com.kgc.util;

import java.io.Serializable;

/**
 * 响应结果对象
 * @author CL
 */
public class Result implements Serializable {
    private Object result;
    private String message;
    private String token;

    public String getToken() {
        return token;
    }

    public Result(Object result, String message) {
        this.result = result;
        this.message = message;
    }
    public Result(Object result, String message,String token) {
        this.result = result;
        this.message = message;
        this.token = token;
    }

    public Object getResult() {
        return result;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public Result() {
    }

    public void setResult(Object result) {
        this.result = result;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
